#pragma once
#include <crow.h>
#include <model/dto/member/points_exchange_record_dto.hpp>
#include <string>

class PointsExchangeRecordService {
  public:
  static ServiceResult create(PointsExchangeRecordDTO& dto);
  static ServiceResult updateByRecordId(const std::string& record_id,
                                        PointsExchangeRecordDTO& record_dto);
  static ServiceResult removeByRecordId(const std::string& record_id);
  static ServiceResult getByPage(const int page, const int page_size);
  static ServiceResult getAll();
};
